<template>
  <div id="app">
    <header>
    <router-view name="header" />
    </header>
    <main>
    <router-view/>
    </main>
    <footer>
    <router-view name="footer" />
    </footer>
  </div>
</template>

<script>
export default {
  name: 'App',
  components: {
  },
}
</script>
<style lang="less">
  html, body, #app {
    height: 100%;

  }

  #app {
    display: flex;
    flex-direction: column;
    header{
      position: fixed;
      top: 0%;
      width: 100%;
      z-index: 999;
    }
    main {
      flex: 1;
        padding-bottom: 100px;
        padding-top: 100px;

    }
    footer{
      position: fixed;
      bottom: 0%;
      width: 100%;
      background-color: #fff;
    }
  }

</style>
